<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>form表单示例</title>
    <script type="text/javascript" src="checkValue.js"></script>
    <!--2019-8-9 23:07:36-->
</head>
<body>
    <form name="form1" action="">

        <input type="text" placeholder="text" name="text1">
        <input type="password" placeholder="password" name="password"><br />

        <textarea placeholder="textarea" name="textarea" id="" cols="30" rows="10"></textarea><br />

        <input type="file" name="file"><br />

        <input type="radio" name="radioInp" value="option1" />option1
        <input type="radio" name="radioInp" value="option2" />option2
        <input type="checkbox" name="checkboxInp" value="option1" />option1
        <input type="checkbox" name="checkboxInp" value="option2" />option2<br/>

        <input type="submit" value="submit">
        <input type="reset" value="reset">
        <input type="button" value="button" onclick="getValue()">

    </form>

</body>
</html>